//: Filename: test.h
//: the header of test.cpp

#ifndef TEST_H
#define TEST_H
#include <iostream>
#include <sstream>
#include <iomanip>
#include <cstring>
#include <string>
#include <ctime>
#include <vector>
#include <deque>
#include <list>
#include <iterator>
#include <sys/time.h>

#define deqb std::deque<double>
#define deqb2 std::deque<deqb>
#define deqb3 std::deque<deqb2>

#define vecb std::vector<double>
#define vecb2 std::vector<vecb>
#define vecb3 std::vector<vecb2>


class Man
{
    protected:
        int _age;
        std::string _name;
    public:
        Man();
        ~Man();
        double* scores;
        virtual void setAge(int age);
        virtual void setName();
};

typedef std::vector<Man> VMan;
class Boy : Man
{
    public:
        void setAge();
        void setName();
};

void testDynamicArray1();
void testDynamicArray2();
void testListPtr();

struct students
{
    int age;
    double* scores;
};

void testStruct1();
void testContainer();
void testListClass();
void testVectorFree();
void testGetTimeOfDay();
#endif //: TEST_H
///:~
